Repository navigation
P18 phase 2: stacked layout for the IDE (editor part) - #30
Merged
Merged
Conversation
Without compact, the workspace is stacked: the editor (or, while visualizing, the visualizer, whose bar takes the tabs' strip) in full width on top, a divider that can be dragged or moved with the keys (the console's share, a third at first, is remembered), and the console in full width below. Graphics show beside the editor only while the program draws, with a ✕ that hides them until the next drawing; no permanent «Grafik» strip. An empty editor shows «Code hier eingeben». The buttons come in the embed's order and labels (▶ Ausführen · Tests · Visualisieren · Zurücksetzen), stay while visualizing, and can be put into the host's bar (actionsContainer). Zurücksetzen restarts Python and clears the console, as in the embed. The run button keeps its width as ▶ becomes ■. closeFileTabs: false drops the tabs' ✕. The compact layout (the embed) is assembled from the same pieces into its old tree; its screenshots are byte-identical to before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cedricvogel-leo
added a commit
to glpython-edu/glpython-edu.github.io
that referenced
this pull request
Oct 25, 2026
▶ Ausführen already starts with a fresh namespace and an empty console, ■ Stoppen ends a hung program, and learners read «Zurücksetzen» as "reset my code". So the bar keeps ▶ · Tests · Visualisieren, and ⋮ starts with «Python neu starten», which mounts the workspace anew (a new Python, an empty console, as the embed's Reset; the code stays). Pins glpython-editor v0.1.11 (glpython-edu/glpython-editor#30). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Editor part of P18 phase 2 (spec: teaching-agent
journal.md→ Visual Identity → «glpython-IDE (Hülle um den Editor)»). The IDE shell itself is a separate PR in the IDE repo, which needs this as v0.1.11.Stacked layout (without
compact, i.e. the IDE):role="separator",aria-valuenow, named «Grösse der Konsole»). The console starts at ⅓ of the height, and the position is remembered in the browser.capabilities.closeFileTabs: falsedrops their ✕, for a host that shows every file as a tab.editorPlaceholder, Monaco'splaceholder).Buttons in the embed's order and labels: ▶ Ausführen · Tests · Visualisieren · Zurücksetzen (en: Run · Tests · Visualize · Reset).
actionsContainerputs them into the host's bar (the IDE's top bar).coreStrings:runProject«Ausführen»,resetOutput«Zurücksetzen»,collapseGraphics«Grafik ausblenden». New strings:consoleSize,editorPlaceholder.The embed is unchanged. The compact tree is assembled from the same JSX pieces into its old structure. The six embed screenshots (REPL, visualization and turtle at 1440 and 820 widths) are byte-identical to before this change.
Lint (known warning only), both builds,
test:protocol,test:runtimeandtest:hintspass. I tested it in the IDE shell PR's build; the screenshots are in the phase report.🤖 Generated with Claude Code